export function parseJSON(response) {
  return response.json()
}

export function getDetail(){
    fetch(`/sobey-mchEditor/mch/ArticleInt/detail?token=b30b105ef352deec74161cdba65dee22&siteCode=S1&id=6277&uuid=`, {
        method:'get',
        credentials: 'include',
        // body:JSON.stringify(query),
        headers: {
            Accept:'application/json',
            'Content-Type': 'application/json;charset=UTF-8'
        }
    })
    .then(parseJSON)
    .then(response => {
        console.log(response.data)
    })
    .catch(error => {

    }) 
}
